package com.flower.service;

import com.flower.model.entity.PageQuery;
import com.flower.model.entity.Product;
import com.flower.result.PageResult;

import java.util.List;

@SuppressWarnings("all")
/**
 *@ClassName ProductsService
 *@Description TODO
 *@Author @O_o  GW__
 *@Date 2025/6/10 14:57
 *@Version 1.0
 */

public interface ProductsService {
    List<Product> getProducts();

    Product getProduct(Integer id);

    PageResult pageQuery(PageQuery pageQuery);

    List<Product> list();

    void saveBatch(List<Product> products);
}
